package cn.wolfcode.wolf2w.cloud.msg.feign.hystrix;

import cn.wolfcode.wolf2w.cloud.msg.feign.ISmsFeignApi;
import cn.wolfode.wolf2w.cloud.commom.util.JsonResult;
import org.springframework.stereotype.Component;
//降级操作
@Component
public class SmsFeignHystrix implements ISmsFeignApi {
    @Override
    public JsonResult sendVerifyCode(String phone) {
        System.out.println("走降级了。。。。。");
        return null;
    }

    @Override
    public JsonResult checkVerifyCode(String phone, String verifyCode) {
        System.out.println("走降级了。。。。。");

        return null;
    }
}
